package io.gitee.yth.design.pattern.test.core.pattern.structural.flyweight.code;

/**
 * @author yth
 * @since 2023-04-27-17:57
 */
public class User {

    private String name;

    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
